#include <UnitTest++.h>
#include "util.h"

TEST(testFormatFuntion)
{
    char expected[15] = "jorge 21";
    char format[10] = "%s %d";
    char buffer[15];
    Util::format(buffer, format, "jorge", 21);
    
    CHECK_EQUAL(expected, buffer);
}
